<div class="page">

    <div class="sidebar_page">
        <div class="content">

            <div id="user" class="tabbed">
                                    {foreach from=$clanInfo item='clan_info'}
                <div class="page_capt clearfix">
                    <h2>{$clan_info.ime}</h2>
                </div>

                <div class="tabs_hold">
                    <a class="current" href="#member_info" rel="inpage">Lični podaci</a>
                    <a id="objavljeni" href="#member_gal" rel="inpage">Objavljeni radovi</a>
                    <a id="komentarisani" href="#last_commented_gal" rel="inpage">Poslednje komentarisani radovi</a>
                    <a id="najpopularniji" href="#most_likes_gal" rel="inpage">Najpopularniji radovi</a>
                </div>
                <div class="tabs_cont_hold">
                    <div id="member_info" class="tab_cont">
                        <div class="cols3">
                            <div class="col">
                                <img src="{if $clan_info.slika!=''}{$media}/autori/{$clan_info.username}/slike_za_profil/{$clan_info.slika}{else}{$media}/images/user_img_big.png{/if}" alt="{$clan_info.ime}" width="150" height="150" />
                                <p class="tCent"><strong>Online</strong>
                                                                            {if $userIsLogged}
                                    | <a href="handlers/sendpm.php?tomember={$clan_info.username}">Pošalji poruku</a>
                                                                            {/if}
                                </p>
                            </div>
                            <div class="col">
                                <p>Ime i prezime: <strong>{$clan_info.ime}</strong></p>
                                <p>Korisničko ime: <strong>{$clan_info.username}</strong></p>
                                <br />
                                <p>Datum rođenja: <strong>{$clan_info.datrodjenja}</strong></p>
                                <p>Grad: <strong>{$clan_info.mesto}</strong></p>
                                <p>Država: <strong>{$clan_info.drzava}</strong></p>
                                <br />
                                <p>Telefon:
                                {if $clan_info.prikazivanje_ptel==1}
                                    <strong>
                                        {$clan_info.telefon_privatni}
                                    </strong>
                                    {else}
                                    <strong>
                                        Privatno
                                    </strong>
                                {/if}
                                </p>
                                <p>E-mail:
                                   {if $clan_info.prikazivanje_maila==1}
                                    <strong>
                                        {$clan_info.email}
                                    </strong>
                                    {else}
                                    <strong>
                                        Privatno
                                    </strong>
                                {/if}
                                <p>Web: <strong>{$clan_info.www}</strong></p>
                            </div>
                            <div class="col">
                                <p>Studio: <strong>{$clan_info.odgovor}</strong></p>
                                <p>Adresa: <strong>{$clan_info.adresa_studija}</strong></p>
                                <br />
                                <p>Telefon: <strong>{$clan_info.telefon_studio}</strong></p>
                                <p>E-mail: <strong>{$clan_info.email_studio}</strong></p>
                                <p>Web: <strong>{$clan_info.www_studio}</strong></p>
                            </div>
                        </div>
                        <br /><br />
                        <p>Moto &frasl; O Sebi:<br /><em>{$clan_info.osebi}</em></p>
                        <br /><br />
                        <p>Datum registracije: <strong>{$clan_info.datum_registracije}</strong></p>
                        <p>Zadnji login: <strong>{$clan_info.poslednji_pristup}</strong></p>
                        <br />
                        <p>Ukupno radova: <strong>{$clan_info.broj_fotografija}</strong></p>
                        <p>Likes: <strong>{$clan_info.broj_skljoceva}</strong></p>
                        <p>Komentara: <strong>{$clan_info.broj_komentara}</strong></p>

                    </div>
						{/foreach}

                    <div id="member_gal" class="tab_cont">
                        <div class="clearfix thumb_gall">
                                                            {foreach from=$PublishedPhotos item='PublishedPhoto'}
                            <div class="gal_item">
                                <a class="thumb" href="{$url}/?page=galerija_single&photo_id={$PublishedPhoto.id}" title="Pogledajte uvećanu sliku"><img src="{$media}/autori/thumbs/{$PublishedPhoto.username}/{$PublishedPhoto.slika}" alt="{$PublishedPhoto.naziv}" /></a>
                                <a class="img_det_user" href="{$url}/?page=galerija_single&photo_id={$PublishedPhoto.id}" title="Pogledajte profil">{$PublishedPhoto.naziv}</a>
                            </div>
                                                            {/foreach}            

                        </div><!--end of .thumb_gall-->
                        <div class="gal_nav">
                                                            {$paginatorPublishedPhotos}
                        </div>
                    </div><!--end of .tab_cont-->

                    <div id="last_commented_gal" class="tab_cont">
                        <div class="clearfix thumb_gall">
                                                            {foreach from=$LastCommentedPhotos item='LastCommentedPhoto'}
                            <div class="gal_item">
                                <a class="thumb" href="{$url}/?page=galerija_single&photo_id={$LastCommentedPhoto.id}" title="Pogledajte uvećanu sliku"><img src="{$media}/autori/thumbs/{$LastCommentedPhoto.username}/{$LastCommentedPhoto.slika}" alt="{$LastCommentedPhoto.naziv}" /></a>
                                <a class="img_det_user" href="{$url}/?page=galerija_single&photo_id={$LastCommentedPhoto.id}" title="Pogledajte profil">{$LastCommentedPhoto.naziv}</a>
                                <span class="img_det_comments">{$LastCommentedPhoto.broj_komentara}</span>
                            </div>
                                                            {/foreach}           
                        </div><!--end of .thumb_gall-->
                        <div class="gal_nav">
								{$paginatorCommentedPhotos}
                        </div>
                    </div><!--end of .tab_cont-->

                    <div id="most_likes_gal" class="tab_cont">
                        <div class="clearfix thumb_gall">
                                                            {foreach from=$PopularPhotos item='PopularPhoto'}
                            <div class="gal_item">
                                <a class="thumb" href="{$url}/?page=galerija_single&photo_id={$PopularPhoto.id}" title="Pogledajte uvećanu sliku"><img src="{$media}/autori/thumbs/{$PopularPhoto.username}/{$PopularPhoto.slika}" alt="{$PopularPhoto.naziv}" /></a>
                                <a class="img_det_user" href="{$url}/?page=galerija_single&photo_id={$PopularPhoto.id}" title="Pogledajte profil">{$PopularPhoto.naziv}</a>
                                <span class="img_det_views">{$PopularPhoto.broj_pregleda}</span>
                                <span class="img_det_likes">{$PopularPhoto.broj_skljoceva}</span>
                                <span class="img_det_comments">{$PopularPhoto.broj_komentara}</span>
                            </div>
                                                            {/foreach}
                        </div><!--end of .thumb_gall-->
                        <div class="gal_nav">
								{$paginatorPublishedPhotos}
                        </div>
                    </div><!--end of .tab_cont-->

                </div><!--end of .tabs_cont_hold-->
            </div>


            <!-- Page bottom blocks -->
            <div class="cols3spanL" id="botom_boxes">
                <div class="col">{include file="bottom_banners.tpl"}</div>
                <div class="col">{include file="chat.tpl"}</div>
            </div>

        </div>
        <!--Content end (.content)-->
        <div class="sidebar">{include file="sidebar_banners.tpl"}</div>
    </div>
    <!--Page content end (.sidebar_page)-->
</div>
<!-- =====  PAGE end (.page) ===== -->